/** 当您的路由表太长时，您可以将其拆分为小模块**/

import Layout from '@/layout'

const chartsRouter = {
  path: '/charts',
  component: Layout,
  redirect: 'noRedirect',
  name: '统计分析',
  hidden:true,
  meta: {
    title: '统计分析',
    icon: 'chart'
  },
  children: [
    {
      path: 'create',
      component: () => import('@/views/charts/create'),
      name: '生成数据',
      meta: { title: '生成数据',noCache: true }
    },
    {
      path: 'show',
      component: () => import('@/views/charts/show'),
      name: '图标显示',
      meta: { title: '图标显示', noCache: true }
    },
    // {
    //   path: 'mix-chart',
    //   component: () => import('@/views/charts/mix-chart'),
    //   name: 'MixChart',
    //   meta: { title: 'Mix Chart', noCache: true }
    // }
    // {
    //   path: 'keyboard',
    //   component: () => import('@/views/charts/keyboard'),
    //   name: 'KeyboardChart',
    //   meta: { title: 'Keyboard Chart', noCache: true }
    // },
    // {
    //   path: 'line',
    //   component: () => import('@/views/charts/line'),
    //   name: 'LineChart',
    //   meta: { title: 'Line Chart', noCache: true }
    // },
    // {
    //   path: 'mix-chart',
    //   component: () => import('@/views/charts/mix-chart'),
    //   name: 'MixChart',
    //   meta: { title: 'Mix Chart', noCache: true }
    // }
  ]
}

export default chartsRouter
